Create Ticket
AutomatR.FreshDesk.Activities.CreateTicket
The "Create Ticket" activity in AutomatR is part of the Freshdesk activities package, designed to facilitate the creation of a new ticket in a Freshdesk user's account. This activity streamlines the process of initiating support or service requests within Freshdesk, enhancing automation workflows.
Properties
Name | Description |
---|---|
Input | |
CCEmails | Specifies the email addresses added in the 'cc' field of the incoming ticket email. It is an array of strings representing additional recipients to be notified. String array variables containing the email addresses. |
Description | Specifies the HTML content of the ticket. It is a required input, representing the detailed description or content of the ticket. String variables containing the HTML content. |
Specifies the email address of the requester or creator of the ticket. It is a required input, uniquely identifying the user initiating the ticket. String variables containing the email address. | |
Phone | Specifies the phone number of the requester. It is a required input, representing the contact number of the user initiating the ticket. Integer variables containing the phone number. |
Priority | Specifies the priority of the ticket. It is a required input with a default value of '1'. Integer variables containing the priority value. |
ResponderID | Specifies the ID of the agent to whom the ticket has to be assigned. It is a required input, uniquely identifying the agent responsible for the ticket. Integer variables containing the responder ID. |
Source | Specifies the channel through which the ticket has to be created. It is a required input with a default value of '2'. Integer variables containing the source channel. |
Status | Specifies the status of the ticket. It is a required input with a default value of '2'. Integer variables containing the status value. |
Subject | Specifies the subject or title of the ticket. It is a required input, representing the brief summary or title of the ticket. String variables containing the subject. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Get All Agents" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs the response as an object, providing information about the success or failure of the ticket creation. Variables of type dynamic to store the response. |
How to use:
- Drag and drop the "Create Ticket" activity onto the workflow.
- Configure the properties by specifying the HTML content, subject, email, phone, priority, status, responder ID, source, and CC emails for the ticket.
- Optionally, configure the delay.
- Execute the workflow to create a new ticket within Freshdesk.
Example: Consider an example where the "Create Ticket" activity is used to initiate a new ticket with the specified details:
Create Ticket:
Display Name: "Initiate Support Request"
Description: "<p>Customer is experiencing issues with the product.</p>"
Subject: "Product Issue"
Email: "customer@example.com"
Phone: 1234567890
Priority: 2
Status: 3
ResponderID: 987654
Source: 1
CCEmails: ["manager@example.com", "support@example.com"]
Result: ticketCreationResult
In this example, the activity creates a new ticket with the specified HTML content, subject, email, phone, priority, status, responder ID, source, and CC emails. The result of the ticket creation operation is stored in the ticketCreationResult
variable for further use in the workflow.